<wicket:extend>
	<h1>Cell Log</h1>
	<table class="prettytable cellLog">
		<tr>
			<th>
				Type
			</th>
			<th>
				Offender
			</th>
			<th>
				Date
			</th>
			<th>
				Watchman
			</th>
			<th>
				Crimes/release reason
			</th>
			<th>
				Possessions
			</th>
		</tr>
		<wicket:container wicket:id="recordList">
			<tr>
				<td wicket:id="type">
					Type
				</td>
				<td>
					<a href="#" wicket:id="offenderLink"><span wicket:id="offenderName"></span></a>
				</td>
				<td wicket:id="date">
					Date
				</td>
				<td wicket:id="watchman">
					Watchman
				</td>
				<td wicket:id="reason">
					Reason
				</td>
				<td wicket:id="possessions">
					Possessions
				</td>
			</tr>
			<tr class="cellLogNotes">
				<td colspan="6" wicket:id="notes">
					Notes
				</td>
			</tr>
		</wicket:container>
	</table>
	<h2>Create new entry</h2>
	<div wicket:id="feedbackPanel">
	</div>
	<form wicket:id="form">
		<table class="card">
			<tr>
				<td>Type</td>
				<td>
					<span wicket:id="incoming">
						<input type="radio" id="incoming" wicket:id="incoming" />
						<label for="incoming">Incoming</label>
						<input type="radio" id="outgoing" wicket:id="outgoing" />
						<label for="outgoing">Outgoing</label>
					</span>
				</td>
			</tr>
			<tr>
				<td>Offender</td>
				<td><select wicket:id="offender"></select></td>
			</tr>
			<tr>
				<td>Date and time</td>
				<td wicket:id="recordTime"></td>
			</tr>
			<tr>
				<td id="watchmanLabel">Watchman</td>
				<td><input type="text" class="textbox" wicket:id="watchman" /></td>
			</tr>
			<tr>
				<td id="crimesLabel">Crimes/release reason</td>
				<td><input type="text" class="textbox" wicket:id="crimes" /></td>
			</tr>
			<tr>
				<td id="crimesLabel">Possessions</td>
				<td><textarea wicket:id="possessions"></textarea></td>
			</tr>
			<tr>
				<td id="crimesLabel">Notes</td>
				<td><textarea wicket:id="notes"></textarea></td>
			</tr>
			<tr class="submitRow">
				<td colspan="2">
					<input type="submit" value="Add" />
				</td>
			</tr>
		</table>
	</form>
</wicket:extend>
